@file:JvmName("AssetMock")

package one.mixin.android.mock

import one.mixin.android.Constants
import one.mixin.android.vo.Asset
import one.mixin.android.vo.WithdrawalMemoPossibility

fun mockAsset() =
    Asset(
        "c6d0c728-2624-429b-8e0d-d9d19b6592fa",
        "BTC",
        "Bitcoin",
        "https://mixin-images.zeromesh.net/HvYGJsV5TGeZ-X9Ek3FEQohQZ3fE9LBEBGcOcn4c4BNHovP4fW4YB97Dg5LcXoQ1hUjMEgjbl1DPlKg1TW7kK6XP=s128",
        "1",
        "",
        "",
        "1",
        "10000",
        "c6d0c728-2624-429b-8e0d-d9d19b6592fa",
        "0",
        "0",
        3,
        "",
        "0",
        null,
        null,
    )

fun mockAssetWithDestinationAndTag() =
    Asset(
        "c6d0c728-2624-429b-8e0d-d9d19b6592fa",
        "BTC",
        "Bitcoin",
        "https://mixin-images.zeromesh.net/HvYGJsV5TGeZ-X9Ek3FEQohQZ3fE9LBEBGcOcn4c4BNHovP4fW4YB97Dg5LcXoQ1hUjMEgjbl1DPlKg1TW7kK6XP=s128",
        "1",
        "eoswithmixin",
        "1e40671dc72b58606a79f53e2",
        "1",
        "10000",
        "c6d0c728-2624-429b-8e0d-d9d19b6592fa",
        "0",
        "0",
        3,
        "",
        "0",
        null,
        WithdrawalMemoPossibility.POSSIBLE,
    )

fun mockAssetWithDestination() =
    Asset(
        "c6d0c728-2624-429b-8e0d-d9d19b6592fa",
        "BTC",
        "Bitcoin",
        "https://mixin-images.zeromesh.net/HvYGJsV5TGeZ-X9Ek3FEQohQZ3fE9LBEBGcOcn4c4BNHovP4fW4YB97Dg5LcXoQ1hUjMEgjbl1DPlKg1TW7kK6XP=s128",
        "1",
        "eoswithmixin",
        "",
        "1",
        "10000",
        "c6d0c728-2624-429b-8e0d-d9d19b6592fa",
        "0",
        "0",
        3,
        "",
        "0",
        null,
        WithdrawalMemoPossibility.NEGATIVE,
    )

fun mockRippleAsset() =
    Asset(
        Constants.ChainId.RIPPLE_CHAIN_ID,
        "XRP",
        "Ripple",
        "https://mixin-images.zeromesh.net/HvYGJsV5TGeZ-X9Ek3FEQohQZ3fE9LBEBGcOcn4c4BNHovP4fW4YB97Dg5LcXoQ1hUjMEgjbl1DPlKg1TW7kK6XP=s128",
        "1",
        "",
        "",
        "1",
        "10000",
        "c6d0c728-2624-429b-8e0d-d9d19b6592fa",
        "0",
        "0",
        3,
        "",
        "0",
        null,
        WithdrawalMemoPossibility.POSITIVE,
    )

const val MOCK_ASSETS_JSON = """
    [
        {
          "type": "asset",
          "asset_id": "05891083-63d2-4f3d-bfbe-d14d7fb9b25a",
          "chain_id": "05891083-63d2-4f3d-bfbe-d14d7fb9b25a",
          "symbol": "BTS",
          "name": "BTS",
          "icon_url": "https://mixin-images.zeromesh.net/vPCw4G1BhBWLzFSVt8jMJxq7LhQgVRbn_IbgJif9mixgLyJfBTlrc4TbELTThAwQCdVqikJQNDDQ84nQZLVf1yGm=s128",
          "balance": "100",
          "destination": "mixin-bts",
          "tag": "556a9be0f8980077",
          "price_btc": "0.00000103",
          "price_usd": "0.01879055",
          "change_btc": "0",
          "change_usd": "0.03333863094062959",
          "asset_key": "1.3.0",
          "mixin_id": "",
          "reserve": "0",
          "confirmations": 64,
          "capitalization": 0,
          "liquidity": "0"
        },
        {
          "type": "asset",
          "asset_id": "05c5ac01-31f9-4a69-aa8a-ab796de1d041",
          "chain_id": "05c5ac01-31f9-4a69-aa8a-ab796de1d041",
          "symbol": "XMR",
          "name": "Monero",
          "icon_url": "https://mixin-images.zeromesh.net/vffCzX0PPO1f1D0sRFCkpJuSRYbxEM5u-hl4FMoUeWk8g899U5eyVKnFENiEJ4AXU0s-62mx1nBR3c_pHFROuw=s128",
          "balance": "100",
          "destination": "43x74R5LcxEUrEWBbWFSmyP5qRkGa5o4R3fFzXy2z93ses7gA4WcXdv4CS9FT5UspRcewdns7SPMrJ4HrYW1Due9MsE2JQc",
          "tag": "",
          "price_btc": "0.00663775",
          "price_usd": "120.95",
          "change_btc": "-0.01565403340495988",
          "change_usd": "0.01904119976409133",
          "asset_key": "05c5ac01-31f9-4a69-aa8a-ab796de1d041",
          "mixin_id": "",
          "reserve": "0",
          "confirmations": 32,
          "capitalization": 0,
          "liquidity": "0"
        },
        {
          "type": "asset",
          "asset_id": "2204c1ee-0ea2-4add-bb9a-b3719cfff93a",
          "chain_id": "2204c1ee-0ea2-4add-bb9a-b3719cfff93a",
          "symbol": "ETC",
          "name": "Ether Classic",
          "icon_url": "https://mixin-images.zeromesh.net/fM9wgyNyB3Uiopx2FRFxhr-sYrvXZtJ-uCpk975wGdpoehoA59rIU-BQ4s_6YFMDEthQ74KCPysOIWSFK4vUG_Y=s128",
          "balance": "100",
          "destination": "0xc64264dfFE9085729Ba8bE18E992421e5172be65",
          "tag": "",
          "price_btc": "0.00032379",
          "price_usd": "5.9",
          "change_btc": "-0.022461733538628747",
          "change_usd": "0.012006861063464836",
          "asset_key": "0x0000000000000000000000000000000000000000",
          "mixin_id": "",
          "reserve": "0",
          "confirmations": 100000,
          "capitalization": 0,
          "liquidity": "0"
        },
        {
          "type": "asset",
          "asset_id": "23dfb5a5-5d7b-48b6-905f-3970e3176e27",
          "chain_id": "23dfb5a5-5d7b-48b6-905f-3970e3176e27",
          "symbol": "XRP",
          "name": "Ripple",
          "icon_url": "https://mixin-images.zeromesh.net/SyX2tH2mBbSc45IfkOysbbd8WtPEjla5R3xT9ym0tbKv_vAyzl_Jd5qEYsOhKyuFRv09w3uB4Vzs2XJuJzZeO7e_=s128",
          "balance": "100",
          "destination": "rKmp1SR2dtdbySsgszaEQZDp1crBqrfgbQ",
          "tag": "",
          "price_btc": "0.00001655",
          "price_usd": "0.30153",
          "change_btc": "0.012851897184822521",
          "change_usd": "0.04855564094628382",
          "asset_key": "23dfb5a5-5d7b-48b6-905f-3970e3176e27",
          "mixin_id": "",
          "reserve": "20",
          "confirmations": 12,
          "capitalization": 0,
          "liquidity": "0"
        },
        {
          "type": "asset",
          "asset_id": "43d61dcd-e413-450d-80b8-101d5e903357",
          "chain_id": "43d61dcd-e413-450d-80b8-101d5e903357",
          "symbol": "ETH",
          "name": "Ether",
          "icon_url": "https://mixin-images.zeromesh.net/zVDjOxNTQvVsA8h2B4ZVxuHoCF3DJszufYKWpd9duXUSbSapoZadC7_13cnWBqg0EmwmRcKGbJaUpA8wFfpgZA=s128",
          "balance": "100",
          "destination": "0xB45c8eF628a5BDC843C1c2Cdb52e4723864370e7",
          "tag": "",
          "price_btc": "0.02727927",
          "price_usd": "497.07",
          "change_btc": "0.02015572001810002",
          "change_usd": "0.05611269281434581",
          "asset_key": "0x0000000000000000000000000000000000000000",
          "mixin_id": "",
          "reserve": "0",
          "confirmations": 16,
          "capitalization": 0,
          "liquidity": "0"
        },
        {
          "type": "asset",
          "asset_id": "574388fd-b93f-4034-a682-01c2bc095d17",
          "chain_id": "574388fd-b93f-4034-a682-01c2bc095d17",
          "symbol": "BSV",
          "name": "Bitcoin SV",
          "icon_url": "https://mixin-images.zeromesh.net/1iUl5doLjMSv-ElcVCI4YgD1uIayDbZcQP0WjFEajoY1-qQZmVEl5GgUCtsp8CP0aj96a5Rwi-weQ5YA64lyQzU=s128",
          "balance": "100",
          "destination": "12jDBd7VLRwZCE7jQeFaxYHff8pXeTgzgg",
          "tag": "",
          "price_btc": "0.00901187",
          "price_usd": "164.21",
          "change_btc": "-0.0023944207671445176",
          "change_usd": "0.03276729559748428",
          "asset_key": "574388fd-b93f-4034-a682-01c2bc095d17",
          "mixin_id": "",
          "reserve": "0",
          "confirmations": 72,
          "capitalization": 0,
          "liquidity": "0"
        },
        {
          "type": "asset",
          "asset_id": "6cfe566e-4aad-470b-8c9a-2fd35b49c68d",
          "chain_id": "6cfe566e-4aad-470b-8c9a-2fd35b49c68d",
          "symbol": "EOS",
          "name": "EOS",
          "icon_url": "https://mixin-images.zeromesh.net/a5dtG-IAg2IO0Zm4HxqJoQjfz-5nf1HWZ0teCyOnReMd3pmB8oEdSAXWvFHt2AJkJj5YgfyceTACjGmXnI-VyRo=s128",
          "balance": "100",
          "destination": "eoswithmixin",
          "tag": "1e40616a71dc72b58606a79f5a95c3e2",
          "price_btc": "0.00014708",
          "price_usd": "2.68",
          "change_btc": "0.003411106562969027",
          "change_usd": "0.03875968992248062",
          "asset_key": "eosio.token:EOS",
          "mixin_id": "",
          "reserve": "0",
          "confirmations": 64,
          "capitalization": 0,
          "liquidity": "0"
        },
        {
          "type": "asset",
          "asset_id": "76c802a2-7c88-447f-a93e-c29c9e5dd9c8",
          "chain_id": "76c802a2-7c88-447f-a93e-c29c9e5dd9c8",
          "symbol": "LTC",
          "name": "Litecoin",
          "icon_url": "https://mixin-images.zeromesh.net/dLK5T9I4YFA094o6nn-qZ_TWLUtIrL0xtjxOyURaLoPcl94m0JKQhXQiOrC775LS9d8apDfLXVfbpDzGmWDf0CWJ=s128",
          "balance": "100",
          "destination": "LMqGL4wTPKUu8bZnfhZrihqFjaycxHmufk",
          "tag": "",
          "price_btc": "0.00444858",
          "price_usd": "81.06",
          "change_btc": "0.07614264772051033",
          "change_usd": "0.11407366684991754",
          "asset_key": "76c802a2-7c88-447f-a93e-c29c9e5dd9c8",
          "mixin_id": "",
          "reserve": "0",
          "confirmations": 32,
          "capitalization": 0,
          "liquidity": "0"
        },
        {
          "type": "asset",
          "asset_id": "815b0b1a-2764-3736-8faa-42d694fa620a",
          "chain_id": "c6d0c728-2624-429b-8e0d-d9d19b6592fa",
          "symbol": "USDT",
          "name": "Tether USD",
          "icon_url": "https://mixin-images.zeromesh.net/ndNBEpObYs7450U08oAOMnSEPzN66SL8Mh-f2pPWBDeWaKbXTPUIdrZph7yj8Z93Rl8uZ16m7Qjz-E-9JFKSsJ-F=s128",
          "balance": "100",
          "destination": "1KVFm1JxRjtfiTopxYVUbEYmiMYGjyH6Pq",
          "tag": "",
          "price_btc": "0.00005486",
          "price_usd": "1",
          "change_btc": "-0.034324942791762014",
          "change_usd": "0",
          "asset_key": "815b0b1a-2764-3736-8faa-42d694fa620a",
          "mixin_id": "",
          "reserve": "0",
          "confirmations": 3,
          "capitalization": 0,
          "liquidity": "0"
        },
        {
          "type": "asset",
          "asset_id": "965e5c6e-434c-3fa9-b780-c50f43cd955c",
          "chain_id": "43d61dcd-e413-450d-80b8-101d5e903357",
          "symbol": "CNB",
          "name": "Chui Niu Bi",
          "icon_url": "https://mixin-images.zeromesh.net/0sQY63dDMkWTURkJVjowWY6Le4ICjAFuu3ANVyZA4uI3UdkbuOT5fjJUT82ArNYmZvVcxDXyNjxoOv0TAYbQTNKS=s128",
          "balance": "100",
          "destination": "0xB45c8eF628a5BDC843C1c2Cdb52e4723864370e7",
          "tag": "",
          "price_btc": "0",
          "price_usd": "0",
          "change_btc": "0",
          "change_usd": "0",
          "asset_key": "0xec2a0550a2e4da2a027b3fc06f70ba15a94a6dac",
          "mixin_id": "",
          "reserve": "0",
          "confirmations": 16,
          "capitalization": 0,
          "liquidity": "0"
        },
        {
          "type": "asset",
          "asset_id": "c6d0c728-2624-429b-8e0d-d9d19b6592fa",
          "chain_id": "c6d0c728-2624-429b-8e0d-d9d19b6592fa",
          "symbol": "BTC",
          "name": "Bitcoin",
          "icon_url": "https://mixin-images.zeromesh.net/HvYGJsV5TGeZ-X9Ek3FEQohQZ3fE9LBEBGcOcn4c4BNHovP4fW4YB97Dg5LcXoQ1hUjMEgjbl1DPlKg1TW7kK6XP=s128",
          "balance": "100",
          "destination": "1KVFm1JxRjtfiTopxYVUbEYmiMYGjyH6Pq",
          "tag": "",
          "price_btc": "1",
          "price_usd": "18235.57",
          "change_btc": "0",
          "change_usd": "0.03604423574595978",
          "asset_key": "c6d0c728-2624-429b-8e0d-d9d19b6592fa",
          "mixin_id": "",
          "reserve": "0",
          "confirmations": 3,
          "capitalization": 0,
          "liquidity": "0"
        },
        {
          "type": "asset",
          "asset_id": "c94ac88f-4671-3976-b60a-09064f1811e8",
          "chain_id": "43d61dcd-e413-450d-80b8-101d5e903357",
          "symbol": "XIN",
          "name": "Mixin",
          "icon_url": "https://mixin-images.zeromesh.net/UasWtBZO0TZyLTLCFQjvE_UYekjC7eHCuT_9_52ZpzmCC-X-NPioVegng7Hfx0XmIUavZgz5UL-HIgPCBECc-Ws=s128",
          "balance": "100",
          "destination": "0xB45c8eF628a5BDC843C1c2Cdb52e4723864370e7",
          "tag": "",
          "price_btc": "0.00780944",
          "price_usd": "142.3",
          "change_btc": "-0.004669847873078021",
          "change_usd": "0.03041274438812455",
          "asset_key": "0xa974c709cfb4566686553a20790685a47aceaa33",
          "mixin_id": "",
          "reserve": "0",
          "confirmations": 16,
          "capitalization": 0,
          "liquidity": "0"
        },
        {
          "type": "asset",
          "asset_id": "fd11b6e3-0b87-41f1-a41f-f0e9b49e5bf0",
          "chain_id": "fd11b6e3-0b87-41f1-a41f-f0e9b49e5bf0",
          "symbol": "BCH",
          "name": "Bitcoin Cash",
          "icon_url": "https://mixin-images.zeromesh.net/tqt14x8iwkiCR_vIKIw6gAAVO8XpZH7ku7ZJYB5ArMRA6grN9M1oCI7kKt2QqBODJwr17sZxDCDTjXHOgIixzv6X=s128",
          "balance": "100",
          "destination": "1CoxNe8sVSxrx3VpdDXdxLjM6NnKA4dDeK",
          "tag": "",
          "price_btc": "0.01393187",
          "price_usd": "253.86",
          "change_btc": "0.0028909327937309375",
          "change_usd": "0.038239744795713876",
          "asset_key": "fd11b6e3-0b87-41f1-a41f-f0e9b49e5bf0",
          "mixin_id": "",
          "reserve": "0",
          "confirmations": 120,
          "capitalization": 0,
          "liquidity": "0"
        }
      ]
"""
